package thrift.hello;

import java.util.LinkedList;
import java.util.List;

import org.apache.thrift.TException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;


public class HelloIface implements HelloService.Iface{

	public static Logger logger = LoggerFactory.getLogger(HelloIface.class);  

	List<String> array = new LinkedList<String>();
	
	@Override
	public String hello(String req) throws TException {
	
//		for(int i = 0 ; i < 1000; ++ i)
//			array.add(req);
		
		return req;
	}

	@Override
	public List<MyStruct> listMyStruct(List<MyStruct> mylist) throws TException {

		return mylist;
	}

}
